package com.uum.blog.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.uum.blog.pojo.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.uum.blog.pojo.vo.CommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentVO> listComment(@Param(Constants.WRAPPER) QueryWrapper<Comment> orderByDesc);
}
